let env = 'pro'; //正式
// let env = 'test'; //测试
const version = '1.0.51-b'

// let BaseURL = 'https://as-jvss.xmcsrv.net'; // JLink  亚洲域名 https://as-jvss.xmcsrv.net/
let BaseURL = 'https://jvss.xmcsrv.net'; // JLink
// let BaseURLRDSVIOT = 'https://rds.jftechws.com'; // RESTful - rds-viot正式 全球统一
let BaseURLRDSVIOT = 'https://rds-viot.jftechws.com'; // RESTful - rds-viot正式
// let BaseURLRS = 'https://as-rs.xmeye.net'; // 账户登录 、、亚洲域名 https://as-rs.xmeye.net
let BaseURLRS = 'https://rs.xmeye.net'; // 账户登录
// let BaseURLWeather = 'https://jlink-weather.jftechws.com'; // 设置设备经纬度
let BaseURLWeather = 'https://jlink-weather.jftechws.com'; // 设置设备经纬度
let BaseURLRSJFTECHWS = 'https://rs.jftechws.com'; // 开放平台对外RS账户登录
// let BaseURLCAPSXM = 'https://caps-as.jftechws.com'; //制造方式 RESTful - rds正式 https://caps-as.jftechws.com
let BaseURLCAPSXM = 'https://caps.jftechws.com'; //制造方式 RESTful - rds正式 //https://caps.xmcsrv.net 以前域名
let BaseURLPoint = 'https://dsc-node.jftechws.com' //埋点
let BaseURLPointQuery = 'https://dsc-center.jftechws.com' //埋点查询
let BaseURLRDSJFTECHWS = 'https://rds.jftechws.com'
if (env == 'test') {
	// BaseURLRS = 'https://test-rs.xmeye.net'; // 账户登录
	BaseURLRS = 'https://test-rs.xmeye.net'; // 账户登录
	// BaseURL = 'https://jvss-test.xmcsrv.net'; //  测试
	BaseURL = 'https://jvss-test.xmcsrv.net'; //  测试
	// BaseURLRDSVIOT = 'https://rds-test.bcloud365.net'; // RESTful - rds-viot测试
	BaseURLRDSVIOT = 'https://rds-test.bcloud365.net'; // RESTful - rds-viot测试
	// BaseURLWeather = 'https://jlink-weather-pre.jftechws.com'; // 设置设备经纬度
	BaseURLWeather = 'https://jlink-weather-pre.jftechws.com'; // 设置设备经纬度
	BaseURLRSJFTECHWS = 'https://rs.jftechws.com'; // 账户登录
	BaseURLCAPSXM = 'https://caps-pre.xmcsrv.net'; // 制造方式 RESTful - rds测试
	BaseURLPoint = 'https://dsc-node-pre.jftechws.com' //埋点
	BaseURLPointQuery = 'https://dsc-center-pre.jftechws.com' //埋点查询
	BaseURLRDSJFTECHWS = 'https://rds-test.jftechws.com'
}

// let BaseURLRS = 'https://rs.xmeye.net'; // 账户登录
// let BaseURLRDSVIOT = 'https://rds-viot.jftechws.com'; // RESTful - rds-viot正式
// let BaseURLWeather = 'https://jlink-weather.jftechws.com'; // 设置设备经纬度
// let BaseURLCAPSXM = 'https://caps.jftechws.com'; //制造方式 RESTful - rds正式 //https://caps.xmcsrv.net 以前域名
// let BaseURLPoint = 'https://dsc-node.jftechws.com' //埋点 https://dsc-center- pre.jftechws.com
// let BaseURLTKS = 'https://api.jftechws.com/tks'; // token 获取访问令牌接口
// let BaseURLBOSS = 'https://boss22-api.xmcsrv.net'; //云服务
// let BaseURLPOPOVER = 'https://promotion.xmeye.net'; //POPOVER
// if (env == 'test') {
// 	BaseURL = 'https://jvss-test.xmcsrv.net'; //  测试
// 	BaseURLRS = 'https://test-rs.xmeye.net'; // 账户登录
// 	BaseURLRDSVIOT = 'https://rds-test.bcloud365.net'; // RESTful - rds-viot测试
// 	BaseURLWeather = 'https://jlink-weather-pre.jftechws.com'; // 设置设备经纬度
// 	BaseURLCAPSXM = 'https://caps-pre.xmcsrv.net'; // 制造方式 RESTful - rds测试  之前域名 https://caps-pre.xmcsrv.net
// 	BaseURLPoint = 'https://dsc-node-pre.jftechws.com' //埋点
// 	BaseURLTKS = 'https://pre-api.jftechws.com/tks'
// }
//
// const BaseURLCAPS = 'https://caps.secu100.net'; //云存储
// const BaseURLSW = 'https://sw.xm030.cn'; //发布状态方式
const BaseURLRDSXM = 'https://rds.xmeye.net'; // RESTful - v1
const BaseURLSW = 'https://sw.xm030.cn'; //发布状态方式

// const BaseURL = 'http://10.10.29.13:8080'; //  顾华欣
// const BaseURL = 'http://cl.dev-nj.jftech.com'; //  测试 亮哥
// const BaseURLRDSVIOT = 'https://gwp-0079.jftechws.com';//'http://122.9.143.195:8089'; 'http://119.3.85.251:8888' //测试对讲

module.exports = {
	version,
	BaseURL,
	BaseURLRDSVIOT,
	BaseURLRS,
	BaseURLWeather,
	BaseURLRSJFTECHWS,
	BaseURLRDSXM,
	BaseURLCAPSXM,
	BaseURLSW,
	BaseURLPoint,
	BaseURLPointQuery,
	BaseURLRDSJFTECHWS
};
